<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>3.5- Windows Benchmark</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="Boost.Sort">
<link rel="up" href="../parallel.html" title="3.- Parallel Algorithms">
<link rel="prev" href="linux_parallel.html" title="3.4- Linux Benchmarks">
<link rel="next" href="../bibliography.html" title="4.- Bibliography">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="linux_parallel.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../parallel.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../bibliography.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="sort.parallel.windows_parallel"></a><a class="link" href="windows_parallel.html" title="3.5- Windows Benchmark">3.5- Windows Benchmark</a>
</h3></div></div></div>
<div class="blockquote"><blockquote class="blockquote">
<p>
          These results are obtained from complex benchmarks, not included in the
          library because they use non free software. (If you are interested in the
          details, contact fjtapia@gmail.com)
        </p>
<p>
          There are 3 types of benchmarks,
        </p>
<div class="blockquote"><blockquote class="blockquote">
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem">
                64 bits integers
              </li>
<li class="listitem">
                strings
              </li>
<li class="listitem">
                objects of several sizes.
              </li>
</ul></div>
<p>
            The objects are arrays of integers. The heavy comparison sums all the
            elements in each, and the light comparison uses only the first number
            of the array.
          </p>
<p>
            This benchmark ran on a VirtualBox virtual machine with 8 threads and
            16 GB of RAM, running over a Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
            with 6 cores and 2 threads by core, and 15M of cache.
          </p>
</blockquote></div>
<h5>
<a name="sort.parallel.windows_parallel.h0"></a>
          <span class="phrase"><a name="sort.parallel.windows_parallel.100_000_000_numbers_of_64_bits_r"></a></span><a class="link" href="windows_parallel.html#sort.parallel.windows_parallel.100_000_000_numbers_of_64_bits_r"><span class="underline">100 000 000 NUMBERS OF 64 BITS RANDOMLY FILLED</span></a>
        </h5>
<p>
          <span class="bold"><strong>
<pre class="programlisting">                          |         |             |
                          |  Time   |   Maximum   |
                          |  secs   | Memory Used |
--------------------------+---------+-------------+
PPL parallel sort         |  2.4016 |    786 MB   |
PPL parallel_buffered_sort|  2.0373 |   1567 MB   |
block_indirect_sort       |  1.6101 |    785 MB   |
                          |         |             |
sample sort               |  2.1191 |   1565 MB   |
parallel stable sort      |  2.4503 |   1175 MB   |
                          |         |             |
</pre>
          </strong></span>
        </p>
<h5>
<a name="sort.parallel.windows_parallel.h1"></a>
          <span class="phrase"><a name="sort.parallel.windows_parallel.10_000_000_strings_randomly_fill"></a></span><a class="link" href="windows_parallel.html#sort.parallel.windows_parallel.10_000_000_strings_randomly_fill"><span class="underline">10 000 000 STRINGS RANDOMLY FILLED</span></a>
        </h5>
<p>
          <span class="bold"><strong>
<pre class="programlisting">                          |         |             |
                          |  Time   |   Maximum   |
                          |  secs   | Memory Used |
--------------------------+---------+-------------+
PPL parallel sort         |   4.3241|    887 MB   |
PPL parallel_buffered_sort|   3.5434|   1199 MB   |
block_indirect_sort       |   3.5732|   1601 MB   |
                          |         |             |
sample sort               |   3.8107|   1198 MB   |
parallel stable sort      |   5.0277|   1041 MB   |
                          |         |             |
</pre>
          </strong></span>
        </p>
<h5>
<a name="sort.parallel.windows_parallel.h2"></a>
          <span class="phrase"><a name="sort.parallel.windows_parallel.objects_randomly_filled"></a></span><a class="link" href="windows_parallel.html#sort.parallel.windows_parallel.objects_randomly_filled"><span class="underline">OBJECTS RANDOMLY FILLED</span></a>
        </h5>
<div class="blockquote"><blockquote class="blockquote">
<p>
            The objects are arrays of 64 bits numbers
          </p>
<p>
            They are compared in two ways :
          </p>
<div class="blockquote"><blockquote class="blockquote">
<p>
              (H) Heavy : The comparison is the sum of all the numbers of the array.
            </p>
<p>
              (L) Light : The comparison is using only the first element of the array,
              as a key
            </p>
</blockquote></div>
</blockquote></div>
<p>
          <span class="bold"><strong>
<pre class="programlisting">                           |           |           |           |           |           |           |             |
                           | 100000000 |  50000000 |  25000000 |  12500000 |   6250000 |   1562500 |             |
                           | objects of| objects of|objects of |objects of |objects of |objects of |  Maximum    |
                           |  8 bytes  | 16 bytes  | 32 bytes  | 64 bytes  | 128 bytes | 512 bytes |  Memory     |
                           |           |           |           |           |           |           |  Used       |
                           |  H     L  |  H     L  |  H     L  |  H     L  |  H     L  |  H     L  |             |
---------------------------+-----------+-----------+-----------+-----------+-----------+-----------+-------------+
                           |           |           |           |           |           |           |             |
PPL parallel sort          | 2.50  2.40| 1.34  1.16| 0.85  0.73| 0.70  0.57| 0.72  0.45| 0.54  0.40|    785 MB   |
PPL parallel_buffered_sort | 2.20  2.26| 1.34  1.24| 1.03  0.79| 1.00  0.83| 0.90  0.85| 0.78  0.87|   1567 MB   |
                           |           |           |           |           |           |           |             |
block_indirect_sort        | 1.62  1.59| 0.94  0.87| 0.63  0.57| 0.50  0.44| 0.58  0.38| 0.55  0.35|    785 MB   |
                           |           |           |           |           |           |           |             |
sample sort                | 2.19  2.25| 1.69  1.54| 1.12  1.14| 1.18  1.14| 1.03  1.13| 1.09  1.17|   1565 MB   |
parallel stable sort       | 2.54  2.49| 1.69  1.52| 1.25  1.10| 1.10  1.03| 1.07  1.00| 1.05  0.97|   1175 MB   |
                           |           |           |           |           |           |           |             |
</pre>
          </strong></span> <br> <br>
        </p>
</blockquote></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2014-2017 Steven
      Ross, Francisco Tapia, Orson Peters<p>
        Distributed under the <a href="http://boost.org/LICENSE_1_0.txt" target="_top">Boost
        Software License, Version 1.0</a>.
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="linux_parallel.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../parallel.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../bibliography.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
